package org.shangrila.app.sys.eo;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the SYS_MONITOR_INFO database table.
 * 
 */
@Entity
@Table(name="SYS_MONITOR_INFO")
@NamedQuery(name="SysMonitorInfo.findAll", query="SELECT s FROM SysMonitorInfo s")
public class SysMonitorInfo implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	@Column(name="PROBE_RESULT")
	private String probeResult;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="PROBE_TIME")
	private Date probeTime;

	//bi-directional many-to-one association to SysServiceInfo
	@ManyToOne
	@JoinColumn(name="SERVICEID")
	private SysServiceInfo sysServiceInfo;

	public SysMonitorInfo() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getProbeResult() {
		return this.probeResult;
	}

	public void setProbeResult(String probeResult) {
		this.probeResult = probeResult;
	}

	public Date getProbeTime() {
		return this.probeTime;
	}

	public void setProbeTime(Date probeTime) {
		this.probeTime = probeTime;
	}

	public SysServiceInfo getSysServiceInfo() {
		return this.sysServiceInfo;
	}

	public void setSysServiceInfo(SysServiceInfo sysServiceInfo) {
		this.sysServiceInfo = sysServiceInfo;
	}

}